<template>
  <div>
    <div class="title">
      <div class="d1">
        <router-link class="a1 a11" :class="{ active: true }" to="/Da"
          >全部问题</router-link
        >
        <p></p>
        <router-link class="a1" :class="{ active: true }" to="/Wen"
          >我要提问</router-link
        >
      </div>
    </div>
    <div class="zhuti">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {};
  },
  methods: {},
};
</script>
<style scoped>
.title {
  color: #817c74;
  text-align: center;
  font-size: 16px;
  padding-top: 15px;
}
.title .d1 {
  width: 100%;
  display: flex;
  border-top: 1px solid #eae6e3;
  border-bottom: 1px solid #eae6e3;
  color: black;
  margin-top: 5px;
}
.title .d1 .a1 {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  margin-left: 10px;
  margin-right: 5px;
  padding-right: 15px;
  color: black;
}
.title .d1 .a11 {
  border-right: 1px solid #eae6e3;
}
.title .d1 p {
  border-left: 1px solid #eae6e3;
}
.title .d1 p:nth-child(3) {
  margin-left: 5px;
}
.zhuti {
  width: 98%;
  margin: 0 auto;
}
.active {
  color: orange !important;
}
</style>